const path = require("path");

const isDev = process.env.NODE_ENV !== "production";

module.exports = {
  outputDir: path.resolve(__dirname, "../server/admin"),
  lintOnSave: isDev,
  publicPath: !isDev ? "/admin" : "/",
};
